package per.hx.bs.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.context.annotation.Primary;
import org.springframework.web.bind.annotation.PostMapping;
import per.hx.bs.entity.SysEmailDO;

/**
 * @author HuXing
 * @date 2018/4/26  14:51
 */
@Primary
@FeignClient(value = "Huxingbs-Sys-Service")
public interface ISysEmailService {

    /**
     * 插入邮件发送信息
     *
     * @param emailDO 邮箱信息
     * @return 影响行数
     */
    @PostMapping(value = "sys-service/email/insert")
    int insertEmail(SysEmailDO emailDO);

}
